public class Certificates {
	
	private Mark mark;
	private Course course = null;
	private Person madefrom = null;
	
	public Certificates(Course corse, Mark mark, Professor madefrom) {
		this.mark = mark;
		this.course = corse;
		this.madefrom = madefrom;
	}
	
	public Mark getMark() {
		return this.mark;
	}
	
	public Course getCourse() {
		return this.course;
	}
	
	public String getMadeFrom() {
		return this.madefrom.getName()+" "+this.madefrom.getSurName();
	}
	
	public String toString() {
		return '\"'+this.getCourse().getLvanr()+" "+this.getCourse().getTitle()+"\" "+this.getMark()+ " "+this.getMadeFrom();
	}
	
}
